package com.foreknow.service;

import com.foreknow.bean.Guestbook;

import java.sql.SQLException;
import java.util.List;

public interface GuestbookService {
    /**
     * 添加用户信息
     */
    public boolean saveguestbook(Guestbook guestbook);
    /**
     * 根据name查询
     */
    public Guestbook sid(int id);
    /**
     *模糊
     */
    public List<Object> sname(String name);
    /**
     * 删除
     */
    public boolean deleteid(int id);
    /**
     * 修改
     */
    public boolean updateid(String name,String phone,String email,String title,String content,String createdtime,int id);
}
